package com.dt.dubai.gaug.service;

import com.dt.dubai.gaug.entity.GaugEntrustReportEntity;
import com.dt.dubai.gaug.service.innate.GaugEntrustReportSerInnateAbsImp;
import com.dt.dubai.gaug.service.ser.GaugEntrustReportService;
import org.springframework.stereotype.Service;

@Service
public class GaugEntrustReportServiceImp extends GaugEntrustReportSerInnateAbsImp implements GaugEntrustReportService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(GaugEntrustReportEntity inEntity) {

    }

    @Override
    protected void userModEntity(GaugEntrustReportEntity inEntity, GaugEntrustReportEntity upEntity) {
        upEntity.setReportName(inEntity.getReportName()); // 报告名称
        upEntity.setReportNo(inEntity.getReportNo()); // 报告编号
        upEntity.setReportStamp(inEntity.getReportStamp()); // 报告图章
        upEntity.setReportResultPdfUrl(inEntity.getReportResultPdfUrl()); // 报告PDF
        upEntity.setReportType(inEntity.getReportType()); // 报告类型
        upEntity.setAccountsStatus(inEntity.getAccountsStatus()); // 检测状态
        upEntity.setCheckCost(inEntity.getCheckCost()); // 检测费用
        upEntity.setReportCost(inEntity.getReportCost()); // 报告费用
        upEntity.setOtherCost(inEntity.getOtherCost()); // 其它费用
        upEntity.setAbolishStatus(inEntity.getAbolishStatus()); // 作废状态
        upEntity.setAbolishReason(inEntity.getAbolishReason()); // 作废原因
        upEntity.setRemark(inEntity.getRemark()); // 备注

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
